//test
export const getCount = state => {
    return state.count
}

export const getExtId = state => {
    if (state.ext_id) {
        return state.ext_id
    } else {
        let ext_id = localStorage.getItem('ext_id');
        if (ext_id) {
            return JSON.parse(ext_id);
        }
        return undefined;
    }
}
